From: Adel Gadllah Date: Wed, 15 Feb 2012 16:58:56 +0000 (+0100) Subject: modalDialog: Fix bindConstraint X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7035 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fbf6e032d06d34b8bbb6546a470427a2d1f894fc;p=gnome-shell.git modalDialog: Fix bindConstraint Clutter.BindCoordinate is an enum not a bitmask, so use Clutter.BindCoordinate.ALL instead of a bitmask of POSITION and SIZE. --- diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index a6479595e..4478f9e38 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -46,7 +46,7 @@ const ModalDialog = new Lang.Class({ Main.uiGroup.add_actor(this._group); let constraint = new Clutter.BindConstraint({ source: global.stage, - coordinate: Clutter.BindCoordinate.POSITION | Clutter.BindCoordinate.SIZE }); + coordinate: Clutter.BindCoordinate.ALL }); this._group.add_constraint(constraint); this._group.connect('destroy', Lang.bind(this, this._onGroupDestroy));